﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

namespace 李晓霞web
{
    public partial class TeacherMonther : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            string name;
            name = Session["UserName"].ToString();
            this.lblShowUser.Text = "当前使用用户是:" + name + "老师";

        }

        protected void TreeView1_SelectedNodeChanged(object sender, EventArgs e)
        {

        }
        
        protected void Timer1_Tick(object sender, EventArgs e)
        {
            this.lblShowTime .Text = System.DateTime.Now.ToString();
        }

        protected void TreeView1_SelectedNodeChanged1(object sender, EventArgs e)
        {

        }

        protected void txtShowUser0_TextChanged(object sender, EventArgs e)
        {

        }

        protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (DropDownList2.SelectedValue == "退出系统")
            {
                this.Dispose();
            }
        }
    }
}